<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link type="text/css" rel="stylesheet" href="../css/layui.css" />
		<script type="text/javascript" src="../layui.js"></script>
	</head>
	<body>
		
		
		<table class="layui-hide" id="testTable" lay-filter="test">
			
		</table>
		<script>
		layui.use(['layer','table'],function(){
			var layer=layui.layer,
			table=layui.table
			$=layui.$;
			table.render({
				elem:'#testTable',//根据id找表格
				height:400,
				url:'http://stuapi.ysdjypt.com/api/GetUsersLayUI',
				method:'post',
				where:{'token':'23d66d84-fae1-45d5-bd07-b694662fe579'},//参数
				title:'用户表',
				page:true,//页
				cols:[
					[
						{   field:'LoginName',
							title:'用户名',
							width:80,
							sort:true,
							fixed:'left'
						},{
							field:'ProtectEMail',
							title:'邮箱',
							width:120
						},{
							field:'ProtectMTel',
							title:'手机号',
							width:100,
							align:'center'
						},{
							field:'IsLockout',
							title:'是否锁定',
							width:80,
							align:'center'
						},{
							field:'CreateTime',
							title:'创建时间',
							width:180,
							align:'center'
						},{
							field:'LastLoginTime',
							title:'最后登录时间',
							width:180
						}
					]
				],
				id:'testReload'
			});
			
		});
		</script>
	</body>
</html>
